home *** CD-ROM | disk | FTP | other *** search
-
- A pair of dice are being rolled 108 000 times to check for randomness.
- This test takes about 33 seconds on a 68882 @ 33mhz. Each combination
- should occur 1/36th of the time (i.e. 3000).
- Test time = 32.99 seconds.
-
-
- 1 2 3 4 5 6
-
- 1 2993 3052 2948 3011 2945 2983
- 2 3025 2975 3017 2857 2888 3001
- 3 3046 3036 3032 3036 3011 3088
- 4 3046 3025 3013 2903 3021 2917
- 5 2969 2988 2946 3034 3069 2922
- 6 3023 3018 3111 2976 3047 3028
-
- The same two times in a row. (i.e. 1/36 * 108 000)
- Theory = 3000 Actual = 2941
-
- Opposite but still the same two times in a row.
- Theory = 3000 Actual = 3095
-
- The same three times in a row. (i.e. 1/1296 * 108 000)
- Theory = 83 Actual = 69
-
- Doubles. (i.e. 1/6 of 108 000)
- Theory = 18 000 Actual = 18000
-
- Total of all rolls including doubles. (i.e. 8.167 * 108 000)
- Theory = 882 000 Actual = 882389
-